import { ArgumentMetadata, Inject, PipeTransform } from "@nestjs/common";
export class MyPipe implements PipeTransform {
  constructor(@Inject("PREFIX") private readonly prefix: string) {}
  transform(value: any, metadata: ArgumentMetadata) {
    return this.prefix + value;
  }
}
